package com.ttbj.api.dispatch;

import com.ttbj.api.dto.dispatch.DispatchDto;
import com.ttbj.api.exception.BusinessException;

public interface DispatchService {
	
	/**
	 * 查询手动/自动派单的参数配置
	 * @return
	 * @throws BusinessException
	 */
	public DispatchDto findDispatchInfo() throws BusinessException;
	
	/**
	 * 更改手动/自动派单，以及自动派单时需要用到的cron表达式
	 * @param dispatchDto 参数配置对象
	 * @throws BusinessException
	 */
	public void editDispatchInfo(DispatchDto dispatchDto) throws BusinessException;
}
